import request from "@/utils/request";

//get请求示例
export function test1(x, y) {
    return request({
        url: "/test",
        method: "get",
        params: {
            x: x,
            y: y
        }
    })
}

//post请求示例
export function test2(x, y) {
    return request({
        url: "/test",
        method: "post",
        data: {
            x: x,
            y: y
        }
    })
}
